export enum Basis {
  Front = 'FRONT',
  Back = 'BACK',
  Left = 'LEFT',
  Right = 'RIGHT',
}

export enum Face {
  Bottom = 5,
  Top = 0,
  Left = 1,
  Right = 3,
  Front = 2,
  Back = 4,
}
export const faceOptions = [
  { label: '底面', value: '5' },
  { label: '顶面', value: '0' },
  { label: '左面', value: '1' },
  { label: '右面', value: '3' },
  { label: '前面', value: '2' },
  { label: '后面', value: '4' },
];
export const faceEnums = {
  [Face.Top]: '顶',
  [Face.Bottom]: '底',
  [Face.Front]: '前',
  [Face.Back]: '后',
  [Face.Left]: '左',
  [Face.Right]: '右',
};
export const faceEnumsMap = new Map([
  [Face.Top, '顶'],
  [Face.Bottom, '底'],
  [Face.Front, '前'],
  [Face.Back, '后'],
  [Face.Left, '左'],
  [Face.Right, '右'],
]);
export const faceInitialValue = Face.Top;
export const basis2FaceMap = new Map([
  [Basis.Front, Face.Front],
  [Basis.Back, Face.Back],
  [Basis.Left, Face.Left],
  [Basis.Right, Face.Right],
]);
export const basis2AxisMap = new Map([
  [Basis.Front, 'x'],
  [Basis.Back, 'x'],
  [Basis.Left, 'y'],
  [Basis.Right, 'y'],
]);
